package com.itheima.config;

import com.itheima.factory.MyFactory;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("com.itheima")
@PropertySource("classpath:db.properties")
@Import(MyFactory.class)
public class SpringConfig {
}
